Skip to content

Use GIX_TEST_FIXTURE_HASH for gix-worktree-stream#2543

Draft
Christoph Rüßler (cruessler) wants to merge 6 commits intoGitoxideLabs:mainfrom
cruessler:run-gix-worktree-stream-tests-with-sha-256
Draft

Use GIX_TEST_FIXTURE_HASH for gix-worktree-stream#2543
Christoph Rüßler (cruessler) wants to merge 6 commits intoGitoxideLabs:mainfrom
cruessler:run-gix-worktree-stream-tests-with-sha-256

Conversation

@cruessler
Copy link
Copy Markdown
Contributor

@cruessler Christoph Rüßler (cruessler) commented Apr 24, 2026

CI failed with the following error message:

error: failed to select a version for the requirement `gix-hash = "^0.23.0"`
candidate versions found which didn't match: 0.24.0
location searched: /home/runner/work/gitoxide/gitoxide/gix-hash
required by package `gix-worktree-stream v0.31.0 (/home/runner/work/gitoxide/gitoxide/gix-worktree-stream)`

This is odd as, in this PR, gix-worktree-stream is only at version 0.30.0.

Open questions

  • Are the additions to byte_to_hash and hash_to_byte correct?
  • In TryFrom<&super::Store> for super::Store, do we want to replace use_multi_pack_index: false by use_multi_pack_index: s.use_multi_pack_index?

This is part of #281

This is breaking because `Stream::add_entry_from_path`'s API has
changed. It now takes `hash_kind` as an argument.
`gix-worktree-stream` actually has `#[cfg(feature = "sha256")]` in two
places.
@cruessler Christoph Rüßler (cruessler) force-pushed the run-gix-worktree-stream-tests-with-sha-256 branch from 7605705 to 74a08aa Compare April 27, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant